package com.wjk.kylin.mall.admin.mapper;

import com.wjk.kylin.mall.admin.entity.RoleMenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 角色和菜单关联表 Mapper 接口
 * </p>
 *
 * @author wangjinkui
 * @since 2021-11-14
 */
@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenuEntity> {

    List<Long> getRoleIdByComponent(String component);
}
